package com.ruoyi.aySys.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 卡密管理对象 card
 * 
 * @author ruoyi
 * @date 2025-05-20
 */
public class Card extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 卡密编号 */
    private String cardId;

    /** 卡密号 */
    @Excel(name = "卡密号")
    private String cardKey;

    /** 卡密类型 */
    @Excel(name = "卡密类型")
    private String cardType;

    /** 当前积分 */
    @Excel(name = "当前积分")
    private Long currentPoints;

    public void setCardId(String cardId) 
    {
        this.cardId = cardId;
    }

    public String getCardId() 
    {
        return cardId;
    }

    public void setCardKey(String cardKey) 
    {
        this.cardKey = cardKey;
    }

    public String getCardKey() 
    {
        return cardKey;
    }

    public void setCardType(String cardType) 
    {
        this.cardType = cardType;
    }

    public String getCardType() 
    {
        return cardType;
    }

    public void setCurrentPoints(Long currentPoints) 
    {
        this.currentPoints = currentPoints;
    }

    public Long getCurrentPoints() 
    {
        return currentPoints;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cardId", getCardId())
            .append("cardKey", getCardKey())
            .append("cardType", getCardType())
            .append("currentPoints", getCurrentPoints())
            .toString();
    }
}
